xen: arm: refactor 64-bit return from trap path
authorIan Campbell <ian.campbell@citrix.com>
Mon, 29 Jul 2013 12:21:00 +0000 (13:21 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 29 Jul 2013 15:54:50 +0000 (16:54 +0100)
commit1ac24d584dcb77fa44e832939e0b50ec9aa4d68b
tree864ee029a2cc4bbf900caebc01be6c498e8dfdd7
parent6487e2603c3ff7e7e81659ca9c453378b6b8a600
xen: arm: refactor 64-bit return from trap path

Refactor exit path to use a single "exit" macro similar to the entry path.

We can also remove the logic at "return_to_new_vcpu" which detects returns to
hypervisor mode -- seemingly trying to handle hypervisor threads which aren't
an thing which we have. The idle VCPUs do not take this path. This simplifies
the return_to_new_vcpu code, we also split it into 32- and 64-bit VCPU paths.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/arm/arm32/entry.S
xen/arch/arm/arm64/entry.S
xen/arch/arm/domain.c